﻿namespace EFS.RC.Wallboard.Common.Config.Sections.Phones
{
	public static class Common
	{
		static Common()
		{
			// load
			LoadConfig();
		}

		#region Properties
		/// Property UriSectionNumberPrefix: Get, Set
		public static System.String UriSectionNumberPrefix { get; private set; }
		#endregion

		/// LoadConfig
		private static void LoadConfig()
		{
			// get values
			System.Collections.Specialized.NameValueCollection nvc =
				(System.Collections.Specialized.NameValueCollection)System.Configuration.ConfigurationManager.GetSection("Phones/Common");
			EFS.Common.Verify.Reference(nvc, "Phones/Common");

			// read
			UriSectionNumberPrefix = EFS.RC.Wallboard.Common.Config.Sections.Functions.GetSectionEntryValue(nvc, "uriSectionNumberPrefix");
		}
	}

}